package com.custom.base.util

import android.util.Log
import com.custom.base.config.BaseConfig

object LogUtil {
    fun d(str:String,tag:String = "Log"){
        if(BaseConfig.getInstance.isLog()) Log.d(tag,str)
    }
    fun e(str:String,tag:String = "Log"){
        if(BaseConfig.getInstance.isLog()) Log.e(tag,str)
    }
    fun i(str:String,tag:String = "Log"){
        if(BaseConfig.getInstance.isLog()) Log.i(tag,str)
    }
}